



/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", sans-serif;
    background-color: #EEEFF1;
    overflow: hidden;
    height: 100vh;
}

/* 固定导航栏 */
.wrap.container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 全屏容器 */
.fullpage-container {
    position: relative;
    height: 100vh;
    
    overflow: hidden;
}

 /* 每个内容屏 */
 .section {
    position: absolute;
    top: 5px;
    left: 0;
    width: 100%;
    height: calc(100vh - 88px);
    transform: translateY(100%);
    opacity: 0;
    
    
    background-color: #EEEFF1; /* 使用你想要的背景色 */
}

/* 第一屏默认显示 */
.section:first-child {
    transform: translateY(0);
    opacity: 1;
}

/* 当前活动屏 */
.section.active {
    transform: translateY(0);
    opacity: 1;
    z-index: 10;
}

/* 需要内部滚动的内容区域 */
.scrollable-section {
    height: 100%;
    overflow-y: auto;
    
}






/* Banner 区域 */

.banner{
 margin:0 auto;
 width: 1920px;
 height: 995px;
}

.banner img{
 margin:0 auto;
}

/* 教师简介区域 */
/* 李世雄-简介*/
.profile{
width: 1440px;
height: 600px;
margin: 0 auto;
background-color: #ffffff;
position: relative;
display: flex;
margin-top:60px;

}

.profile-center img{
position: absolute;
top: 0;
left: 0;

}

.profile-right{
position: absolute;
top: 48px;
left: 483px;
z-index: 1;

}

.profile-right h1{
font-weight: bold;
font-size: 40px;
color: #2C4683;
}
.profile-right h2{
margin-top: 9px;
font-weight: medium;
font-size: 29px;

color: #2C4683;    
}


.huawen{
position: absolute;
bottom:0;
right:0;
}












/* 自定义滚动条容器 */
.custom-scroll-container {
position: relative;
width: 910px;
height: 360px;
margin-top: 189px ;
margin-left: 483px;

border-radius: 8px;

overflow: hidden;
}

/* 内容区域 */
.scroll-content {
height: 100%;
width: calc(100% - 25px);

overflow-y: scroll;
}

/* 隐藏默认滚动条 */
.scroll-content::-webkit-scrollbar {
display: none;
}

/* 滚动条轨道 */
.scroll-track {
position: absolute;
top: 0;
right: 0;
width: 8px;
height: 100%;
background-color: #e7e6e6;
border-radius: 4px;
opacity: 1;
transition: opacity 0.3s ease;
}

.custom-scroll-container:hover .scroll-track {
opacity: 1;
}

/* 滚动条滑块 */
.scroll-thumb {
position: absolute;
width: 100%;
height: 25%;
background-color: #afaeae;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s, height 0.2s;
}

.scroll-thumb:hover {
background-color: #a8a8a8;
}

/* 内容样式 */

.scroll-content p {
margin-bottom: 10px;
text-indent: 2em; /* 首行缩进 2 个字符 */
font-weight: 500;
font-size: 24px;
color: rgba(0,0,0,0.75);
line-height: 48px;
text-align: justify;
}








.link{
margin:0 auto;
margin-top:18px;
gap: 18px;
display: flex;
justify-content: center;
}


/* 每个图片容器设置为相对定位，方便绝对定位子元素 */
.link > div {
position: relative;
display: inline-block;
}

/* before 和 after 图片默认样式 */
.link img {
transition: opacity 0.3s ease; /* 添加过渡动画 */
}

/* after 图片初始状态隐藏 */
.link .s-after,
.link .dao-after,
.link .zhen-after,
.link .li-after,
.link .shi-after,
.link .xian-after {
position: absolute;
top: 0;
left: 0;
opacity: 0;
}

/* 悬停时隐藏 before，显示 after */
.link > div:hover .s-before,
.link > div:hover .dao-before,
.link > div:hover .zhen-before,
.link > div:hover .li-before,
.link > div:hover .shi-before,
.link > div:hover .xian-before {
opacity: 0;
}

.link > div:hover .s-after,
.link > div:hover .dao-after,
.link > div:hover .zhen-after,
.link > div:hover .li-after,
.link > div:hover .shi-after,
.link > div:hover .xian-after {
opacity: 1;
}


/* 滚动指示器 */
.scroll-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.scroll-indicator div {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(44, 70, 131, 0.3);
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator div.active {
    background: #2C4683;
    transform: scale(1.3);
}






.teachers {
max-width: 1920px; /* 最大宽度，但可以缩小 */
width: 100%;      /* 宽度自适应 */
height: 1451px;
margin: 0 auto;   /* 水平居中 */
position: relative;
margin-top:60px;

}

.teachers-img {
max-width: 100%;  /* 图片宽度不超过容器 */
height: auto;     /* 高度自适应 */
display: block;   /* 防止图片下方出现间隙 */
margin: 0 auto;   /* 图片水平居中 */
}

.teachers-text {
max-width: 1440px; /* 最大宽度，但可以缩小 */
width: 100%;       /* 宽度自适应 */
height: 1255px;
margin: 0 auto; /* 水平居中 + 上下间距 */
padding: 0px;     /* 内边距 */
background-color: white;
box-sizing: border-box; /* 防止 padding 影响宽度计算 */
position: absolute;
top: 196px; /* 距离顶部 191px */
left: 50%;  /* 水平居中 */
transform: translateX(-50%); /* 修正水平偏移 */
}


#shizi {
    margin-top: -60px; /* 向上移动抵消 .fullpage-container 的 margin-top */
}


/* 父容器（假设它们有一个共同的父级） */
.teachers-container {
width: 100%;

display: flex;
justify-content: center; /* 水平居中（可选） */
margin-top:50px;

}

.teachers-text3{
width: 455px;
height: 1137px;
}
.teachers-text4{
width: 455px;
height: 1137px;
}
.teachers-text5{
width: 412px;
height: 1137px;
}



/* 自由设置间距 */
.teachers-text3 {
margin-right: 30px; /* teachers-text3 和 teachers-text4 间距 */
}
.teachers-text4 {
margin-right: 30px; /* teachers-text4 和 teachers-text5 间距 */
}
.teachers-text5 {
margin-right: 0;    /* 最后一列不需要右侧间距 */
}

.teachers-text3-list1 span,
.teachers-text4-list1 span,
.teachers-text5-list1 span{
font-weight: 500;
font-size: 22px;
color: rgba(0, 0, 0, 0.9);

}

.teachers-text3-list1 ,
.teachers-text4-list1 ,
.teachers-text5-list1{
display: flex;
align-items: center; /* 图片和文字垂直居中 */
gap: 8px; /* 可选：控制图片和文字的间距 */

margin-bottom: 48px;
}








.teachers-bottom {
position: absolute;
bottom: 0; /* 定位到父容器底部 */
left: 50%;
transform: translateX(-50%); /* 水平居中 */
z-index: 10; /* 确保在最上层 */
width: 100%;
max-width: 1440px; /* 与.teachers-text同宽 */
}


/* 荣休仪式部分样式修改 */
#rongxiu {
    overflow: auto; /* 允许内部滚动 */
    overflow-y: auto; /* 启用垂直滚动 */
    height: calc(100vh - 88px); /* 减去导航栏高度 */
    -webkit-overflow-scrolling: touch; /* 平滑滚动(iOS) */
}

.retire {
    width: 100%;
    height: auto;
    margin-top: 60px;
    overflow-y: auto; /* 允许内容滚动 */
}

.retire-top {
    width: 1440px;
    height: 663px;
    margin: 0 auto 90px auto;
    position: relative;
}

.footer {
    width: 100%;
    margin-top: 60px;
}

.footer img {
    width: 100%;
    height: auto;
    display: block;
}

.retire-img{
    position: absolute;
    top: 0;
    left: 0;
}

.retire h1{
font-family: Alimama ShuHeiTi, Alimama ShuHeiTi;
font-weight: bold;
font-size: 63px;
color: #FFFFFF;
position: absolute;
top:50px;
left:50px;
}
.mask{
position: absolute;
top: 0;
left: 0;

}


/* 名师硕学-导航 */
.mingshi{
margin:0 auto;
width: 1440px;
height: auto;
margin-top:60px;
position: relative;
overflow: visible; /* 允许内容溢出 */
padding-bottom:150px
}
.mingshi-nav {
width: 1440px;
height: 88px;
background-color: rgb(255, 255, 255);
display: flex;

}

.nav-container {
width: 1280px;
overflow: hidden;
white-space: nowrap;
position: relative;
}

.tab-title {
display: inline-flex;

margin: 0;
padding: 0;
list-style: none;
}

.tab-title li {
position: relative;
float: left;
}

.tab-title li a {
display: block;
text-decoration: none;
font-size: 20px;
color: rgba(0,0,0,0.6);
font-weight: 500;
height: 88px;
line-height: 88px;
padding: 0 24px;

}

/* 默认active状态 */
.tab-title li.active a {
color: #2C4683 !important;
font-weight: bold !important;
}

/* 下滑线样式 */
.tab-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 25px;
    transform: translateX(-50%); /* 中心对齐 */
    transition: left 0.3s ease, opacity 0.3s ease; /* 添加透明度过渡 */
    will-change: left;
    opacity: 1; /* 默认显示 */
}

/* 添加隐藏状态 */
.tab-line.hidden {
    opacity: 0;
    transition: opacity 0.1s ease; /* 快速隐藏 */
}

.tab-line img {
height: 100%;
width: auto;
display: block;
}

.more img {
margin-top: 22px;
margin-left: 52px;
cursor: pointer;
}

/* 名师硕学-内容 */
/* 轮播容器样式 */
.carousel-container {
width: 1440px;
height: 623px;
position: relative;
overflow: hidden;
}

.carousel-slides {
display: flex;
width: 100%;
height: 100%;
position: relative;
}
.mingshi-container.slide {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
transition: transform 0.5s ease, opacity 0.5s ease;
}

/* 初始状态 */
.mingshi-container.slide:not(.active) {
transform: translateX(100%);
opacity: 0;
z-index: 1;
}

/* 活动状态 */
.mingshi-container.slide.active {
transform: translateX(0);
opacity: 1;
z-index: 2;
}
/* 向左滑出动画 */
.slide.slide-out-left {
animation: slideOutLeft 0.5s forwards;
}

/* 从右滑入动画 */
.slide.slide-in-right {
animation: slideInRight 0.5s forwards;
}

@keyframes slideOutLeft {
from { transform: translateX(0); opacity: 1; }
to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideInRight {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
.mingshi-container {
width: 1440px;
height: 623px;
background-color: #FFFFFF;
position: relative;
margin-top:20px;
overflow: hidden; /* 清除浮动 */
}
.mingshi-img {
float: left; /* 图片左浮动 */
margin:30px 50px 0 30px;
shape-outside: margin-box; /* 让文字围绕图片 */
width: 450px; /* 固定图片宽度，避免过大影响布局 */
height: auto; /* 保持图片比例 */
}
.mingshi-text{

padding: 50px 60px 0 30px; /* 调整内边距 */
}
.mingshi-text h2{
font-size: 62px;
color: rgba(0,0,0,0.9);
font-weight: 500;
margin-top: 0; /* 移除默认的上边距 */
}
.text1-p{margin-top:50px;}
.text1-p p{
font-size: 32px;
color: rgba(0,0,0,0.7);

text-indent: 2em; /* 首行缩进 2 个字符 */
font-weight: 500;
font-size: 30px;

line-height: 56px;
text-align: justify;
margin-top: 8px;
margin-right:60px;
margin-right: 0; /* 移除默认的右边距 */
}
.mingshi-bottom{
position: absolute;
top:50px;
right:90px;

}
.huadong{
margin-top: 20px;
text-align: center; 

}

/* 圆点指示器样式 */


.huadong .dot {
display: inline-block;
width: 20px;
height: 20px;
margin: 0 8px;
border-radius: 50%;
background-color: #ccc;
cursor: pointer;
}

.huadong .dot.active {
background-color: #2C4683; /* 活动状态颜色 */
}







.tab-content1{
    width: 1440px;
    height: auto;
    overflow: visible; /* 允许内容溢出 */
 }



/* 贤才梯队-名字+照片*/
.tab-content2{
    width: 1440px;
    height: auto;
    overflow: visible; /* 允许内容溢出 */
 }


 .tab-content2-line1{
    display: flex;
    width: 1440px;
    height:auto;
    margin-top: 20px !important; /* 强制覆盖 */
    margin:0 auto;
    gap: 30.66px;
 }
 .tab-content2-line3{
  display: flex;
  width: 1440px;
  height:auto;
  margin-top: 20px !important; /* 强制覆盖 */
  margin:0 auto;
  gap: 30.66px;
}
.tab-content2-line4{
  display: flex;
  width: 1440px;
  height:auto;
  margin-top: 24px !important; /* 强制覆盖 */
  margin:0 auto;
  gap: 30.66px;
}
.tab-content2-line5{
  display: flex;
  width: 1440px;
  height:auto;
  margin-top: 24px !important; /* 强制覆盖 */
  margin:0 auto;
  gap: 30.66px;
}
.tab-content2-line6{
  display: flex;
  width: 1440px;
  height:auto;
  margin-top: 24px !important; /* 强制覆盖 */
  margin:0 auto;
  gap: 30.66px;
}
.tab-content2-line7{
  display: flex;
  width: 1440px;
  height:auto;
  margin-top: 24px !important; /* 强制覆盖 */
  margin:0 auto;
  gap: 30.66px;
}

 .square {
    width: 337px;
    height: 354px;
    background: #FFFFFF;
    position: relative;
 }
 .square img {
    margin-top: 20px;
    margin-left: 20px;
}

.square-text {
    position: absolute;
    bottom: 22px;
    left: 20px;
    width: 149px;
    height: 54px;
    background: linear-gradient( 88deg, #E7D5AF 0%, rgba(231,213,175,0.4) 100%);
    color: #000000;  /* 在这里添加了分号 */
    text-align: center;
    line-height: 54px;
    
}
.square-text h1 {
    font-weight: 500;
    font-size: 32px;
}


.tab-content2-line2{
    display: flex;
    width: 1440px;
    height:auto;
    margin-top: 20px !important; /* 强制覆盖 */
    margin:0 auto;
    gap: 30.66px;
 }


 /* 贤才梯队-名字*/
 .tab-content3{
    width: 1440px;
    height: auto;
    
    background: #FFFFFF;
    overflow: visible; /* 允许内容溢出 */
    margin:20px auto;
    
    
 }
 .tab-content3 h2{
    margin:30px 0 35px 30px;
    display: inline-block; /* 或者 block */
    
    font-weight: bold;
    font-size: 32px;
    color: #2C4684;

 }

 .tab-content3-line1{
    display: flex;
    margin:0 auto 25px 6px;
    width: 1390px;
    
    
    
 }
 /* 添加盒模型重置 */
* {
    box-sizing: border-box;
}

.boder-text {
    
    
    display:flex;
    margin-left:27px;
    
}

.boder-text-line{
  width: 2px;
  height: 21px;
  background: #D9D9D9;
  margin-left:27px;
}

.boder-text h1 {
    font-size: 24px;
    font-weight: 500;
    color: rgba(0,0,0,0.9);
    margin: 0; /* 清除默认margin */
    padding: 0;
    line-height: 1; /* 使用标准行高 */
    width:72px;
}


  .tab-content3-line2{
    display: flex;
    margin:0 auto 25px 6px;
    width: 1390px;
  }

  .tab-content3-line3{
    display: flex;
    margin:0 auto 25px 6px;
    width: 1390px;
    padding-bottom: 30px;
  }
 
 /* 添加以下CSS规则 */
 .tab-content2,
 .tab-content3 {
    display: none; /* 初始隐藏状态 */
 }

 /* 默认显示第一个内容区块 */
 .tab-content {
    display: block;
 }
 /* 贤才梯队-结束*/
